package com.ziyun.erp.common.e.purchase;

import com.ziyun.erp.common.e.BaseEnum;

/**
 *  采购申请状态
 *  发布状态:1.待审核;2.已审核3.已入库 4.驳回
 * @author 桂朝
 * @date 2018/9/28 15:10
 */
public enum PurchaseApplyStatusEnum implements BaseEnum {
    WAIT_AUDIT(1, "待审核"),
    ALREADY_AUDIT(2, "已审核"),
    IN_STOCK(3, "已入库"),
    REJECT(4,"驳回");


    private int id;
    private String describe;

    PurchaseApplyStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
